typedef PD3DXMATRIX (WINAPI *TD3DXMatrixInverse)(
  _Inout_  D3DXMATRIX *pOut,
  _Inout_  FLOAT *pDeterminant,
  _In_     const D3DXMATRIX *pM
);

TD3DXMatrixInverse OldD3DXMatrixInverse;

DllExport PD3DXMATRIX cc D3DXMatrixInverse(
  _Inout_  D3DXMATRIX *pOut,
  _Inout_  FLOAT *pDeterminant,
  _In_     const D3DXMATRIX *pM
)
{
	return OldD3DXMatrixInverse (pOut, pDeterminant, pM);
}
